import request from "@/utils/request"

export function list(obj) {
  return request({
    url: "/log/dataNumberMonitoring",
    method: "post",
    params: obj
  })
}
export function ratelist(obj) {
    return request({
      url: "/log/dataRateMonitoring",
      method: "post",
      params: obj
    })
  }
export function Searchlist(obj) {
    return request({
      url: "/log/queryLogList",
      method: "post",
      params: obj
    })
  }
  export function averate(obj) {
    return request({
      url: "/log/dataAvgRateMonitoring",
      method: "post",
      params: obj
    })
  }
  export function leftaverate(obj) {
    return request({
      url: `log/job/info/${obj}`,
      method: "get",
    //   params: obj
    })
  }